<?php $this->renderPartial('wizard_campaign/step_bar', array('step' => $step)); ?>
<?php $form=$this->beginWidget('CActiveForm', array(
                    'id'=>'wizard-step-two-form',
                    'enableClientValidation'=>true,
                    'clientOptions'=>array(
                        'validateOnSubmit'=> false,
                    ),
                    'htmlOptions' => array(
                        'class' => 'form-horizontal',
                    )
                )); ?>
<div class="box span12 reset-margin">
	<div class="box-header">
		<h2><i class="icon-book"></i><?php echo Yii::t("main","Danh sách nhóm liên hệ");?></h2>
	</div>
	<div class="box-content">
		<div class="row-fluid">
			<?php echo $form->checkBoxList($formModel, 'groups',$formModel->getGroups(), array()); ?>
		</div>
	</div>	
</div>
<div class="box span12 reset-margin">
	<div class="box-header">
		<h2><i class="icon-book"></i><?php echo Yii::t("main","Thêm liên hệ để gửi");?></h2>
	</div>
	<div class="box-content">
		<div class="row-fluid">
			<fieldset>
				<div class="form-inline">
					<input type="text" class="" id="contacts" name="suggest_contacts" />
				</div>
				<div class="clearfix"></div>
				<div class="form-actions text-right">
					<button type="submit" class="btn btn-large btn-primary"><?php echo Yii::t("main","Lưu và Qua bước").' '.($step+1);?></button>
				</div>
			</fieldset> 
		</div>
	</div>	
</div>
<?php $this->endWidget(); ?>